package net.bac.sbe.common.api.view;

import java.util.Map;


public class SonarItemView {

	private String branchId;
	private String artifactId;
	private String module;
	private String itemName;
	private String itemPackage;
	private String itemType;
	private boolean isNew;
	private Map<String, Double> metrics;

	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public String getItemPackage() {
		return itemPackage;
	}
	public void setItemPackage(String itemPackage) {
		this.itemPackage = itemPackage;
	}
	public String getItemType() {
		return itemType;
	}
	public void setItemType(String itemType) {
		this.itemType = itemType;
	}
	public boolean isNew() {
		return isNew;
	}
	public void setNew(boolean isNew) {
		this.isNew = isNew;
	}
	public Map<String, Double> getMetrics() {
		return metrics;
	}
	public void setMetrics(Map<String, Double> metrics) {
		this.metrics = metrics;
	}

	public void getMetric(String pMetric){
		this.metrics.get(pMetric);
	}
	public String getBranchId() {
		return branchId;
	}
	public void setBranchId(String branchId) {
		this.branchId = branchId;
	}
	public String getArtifactId() {
		return artifactId;
	}
	public void setArtifactId(String artifactId) {
		this.artifactId = artifactId;
	}
	public String getModule() {
		return module;
	}
	public void setModule(String module) {
		this.module = module;
	}


}
